package cn.school.sys.entity;

import cn.hutool.core.date.DatePattern;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author: lx
 * @date: 2023/4/20 11:49
 * @description: 系统租户表
 */
@Data
@TableName("t_sys_tenant_info")
public class SysTenantInfo {

    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;

    @ApiModelProperty(value = "租户编号")
    private String tenantNo;

    @ApiModelProperty(value = "租户名称")
    private String tenantName;

    @ApiModelProperty(value = "租户描述")
    private String descContent;

    @ApiModelProperty(value = "租户官网地址")
    private String tenantWebsite;

    @ApiModelProperty(value = "租户logo")
    private String tenantLogo;

    @ApiModelProperty(value = "租户类型")
    private String tenantType;

    @ApiModelProperty(value = "租户状态 0-停用 1-启用")
    private String tenantStatus;

    @ApiModelProperty(value = "经度")
    private String lng;

    @ApiModelProperty(value = "纬度")
    private String lat;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
    private Date  createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
    private Date modifyTime;
}
